package com.srit.system.bean;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.srit.forecast.constant.Constant;

/**
 * 编码表
 * 
 * @author guan
 * 
 */
public class Code {
	private Integer id;
	private String name;// 名称
	private String code;// 编码
	private int codeTypeId;// 类型
	private String remark;// 备注
	private String deleted = Constant.NOT_DELETED;// 是否删除
	private String enabled = Constant.ENABLED;// 是否启用
	private String image;
	private CommonsMultipartFile uploadItem;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getCodeTypeId() {
		return codeTypeId;
	}

	public void setCodeTypeId(int codeTypeId) {
		this.codeTypeId = codeTypeId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public String getEnabled() {
		return enabled;
	}

	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public CommonsMultipartFile getUploadItem() {
		return uploadItem;
	}

	public void setUploadItem(CommonsMultipartFile uploadItem) {
		this.uploadItem = uploadItem;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}
